package cn.edu.sgu.www.mhxysy.service.equipment.impl;

import cn.edu.sgu.www.mhxysy.mapper.equipment.SchemaEquipmentMapper;
import cn.edu.sgu.www.mhxysy.service.equipment.SchemaEquipmentService;
import cn.edu.sgu.www.mhxysy.vo.equipment.EquipmentVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Service
public class SchemaEquipmentServiceImpl implements SchemaEquipmentService {

    private final SchemaEquipmentMapper schemaEquipmentMapper;

    @Autowired
    public SchemaEquipmentServiceImpl(SchemaEquipmentMapper schemaEquipmentMapper) {
        this.schemaEquipmentMapper = schemaEquipmentMapper;
    }

    @Override
    public List<EquipmentVO> selectBySchemaId(Integer schmaId) {
        return schemaEquipmentMapper.selectBySchemaId(schmaId);
    }

}